package personal.xzhang.swing.jwizard;

public abstract class WizardStep {
    
    protected JWizardPanel panel_;
    
    private String name_;

    private int nextStepIndex_;
    
    private int previousStepIndex_;
    
    public int getNextStepIndex() {
        return nextStepIndex_;
    }
    
    public void setNextStepIndex(int index) {
        nextStepIndex_ = index;
    }
    
    public int getPreviousStepIndex() {
        return previousStepIndex_;
    }
    
    public void setPreviousStepIndex(int index) {
        previousStepIndex_ = index;
    }
    
    public void setName(String name) {
        name_ = name;
    }
    
    public String getName() {
        return name_;
    }
}
